﻿@page "/schedule"

@using TaskManage.Interface

@inherits 程序员界面

<h1>排期</h1>

@if (排期集合 == null)
{
    <p>
        <em>Loading...</em>
    </p>
}
else
{
    <table class="table">
        <thead>
        <tr>
            <th>Id</th>
            <th>概述</th>
            <th>开始时间</th>
            <th>结束时间</th>
        </tr>
        </thead>
        <tbody>
        @foreach (var schedule in 排期集合)
        {
            <tr>
                <td>@schedule.m_任务.Id</td>
                <td>@schedule.m_任务.Summary</td>
                <td>@schedule.开始时间</td>
                <td>@schedule.结束时间</td>
            </tr>
        }
        </tbody>
    </table>
}